package com.ht.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AlertReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "alert_id", type = IdType.AUTO)
    private Integer alertId;

    private Double alertTem;

    private Double alertHum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alertTime;

    private Integer alertEquimentId;

    private String alertRoom;


}
